|
|
|
|
|
|
|
The project file is very similar to an INI file. Enter information in sections, which each have a heading enclosed in square brackets ([ ]). These files can be created in a text editor and must be saved as unformatted ASCII text. Now open the Notepad accessory in Windows to create the project file. |
|
|
|
|
|
|
|
|
Enter the following text to create the project file. Save your file into the same directory as your TOPICS.RTF file and name it PROJECT.HPJ. |
|
|
|
|
|
|
|
|
; Project file for the Company Master Help
;
[Options]
Title=My Help File ;Title to Appear on the Help Title Bar
ErrorLog = Error.TXT ;File to store compile errors
[Files]
Topics.RTF ;Name of the file containing the topics
[Config]
BrowseButtons() ;Macro to place browse buttons on the help screens
[Map]; section to define context string parameters
CompanyInformation 1
ContactInformation 2
OtherInformation 3 |
|
|
|
|
|
|
|
|
Components of the Project File |
|
|
|
|
|
|
|
|
The first section of the project file is the [Options] section. This section, if used, should always be the first section of the topic file. Although it is not required that you use this section, it is highly recommended. This is where you identify the title that appears on your help title bar as well as the name of the file that is used to collect compilation errors. |
|
|
|
|
|
|
|
|
Here is the syntax to follow when entering an [Options] section: |
|
|
|
|
|
|
|
|
[Options]
Title=My Help File ;Title to Appear on the Help Title Bar
ErrorLog = Error.TXT ;File to store compile errors |
|
|
|
|
|
|
|
|
The second section is the Titles section. This section is required in all project files. It contains the name of the topic file (the TOPICS.RTF file in this exercise) from which the help file is created. You entered only one line in this section: |
|
|
|
|
|
|
|
|
[Files]
Topics.RTF ;Name of the file containing the topics |
|
|
|
|
|
|
|
|
The third section is the [Config] section. This section lets you declare macros to be executed when your finished help file is compiled. In the [Config] section you have entered a macro name that places browse buttons at the top of the help screen to aid you in moving through the defined browse sequences. For this section, enter the following: |
|
|
|
|
|
|
|
|
[Config]
BrowseButtons() ;Macro to place browse buttons on the help screens |
|
|
|
|
|